home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 19
/
Aminet 19 (1997)(GTI - Schatztruhe)[!][Jun 1997].iso
/
Aminet
/
util
/
cli
/
ascii.readme
< prev
next >
Wrap
Text File
|
1997-05-03
|
2KB
|
73 lines
Short: Convert chars into ASCII codes, and vice versa
Author: rsmedley@cix.compulink.co.uk (Richard Smedley)
Uploader: rsmedley@cix.compulink.co.uk (Richard Smedley)
Type: util/cli
Two little CLI commands which can be used for displaying the ASCII code of
a particular character, or vice versa.
The commands are equivalent to the ASC() and CHR$() functions that you'd
normally find in Basic, except that you don't need to waste memory loading
a Basic interpreter to use them! (And, of course, you can enter multiple
arguments - something else you can't do in Basic)
Anyway, here are the two commands:
Ascii - Convert characters into ASCII codes
-------------------------------------------
Usage: Ascii <char1> <char2> <etc>
Example: Ascii t e s t
ASCII code of "t" is 116 ($74)
ASCII code of "e" is 101 ($65)
ASCII code of "s" is 115 ($73)
ASCII code of "t" is 116 ($74)
Chr$ - Convert ASCII codes into characters
------------------------------------------
Usage: Chr$ <ascii1> <ascii2> <etc>
Example: Chr$ $74 $65 $73 $74
ASCII 116 ($74) is "t"
ASCII 101 ($65) is "e"
ASCII 115 ($73) is "s"
ASCII 116 ($74) is "t"
(You can enter the ASCII codes in either decimal or hex)
They're probably mainly of use to programmers. I know that *I* often find
them useful anyway!
Both progs are freeware, but remain Copyright (C) Richard Smedley 1997. If
you distribute them, then make sure you only distribute the entire archive.
Standard disclaimer applies; you use them at your own risk.
If you want to contact me, here's my address:
Richard Smedley
PO Box 59
Sutton-In-Ashfield
Notts
NG17 3HP
England
rsmedley@cix.compulink.co.uk
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
628 263 58.1% 25-Apr-97 11:34:22 Ascii10.info
8092 4664 42.3% 25-Apr-97 11:33:50 +Ascii
1713 802 53.1% 25-Apr-97 11:34:08 +ascii.readme
10036 6368 36.5% 25-Apr-97 11:34:00 +Chr$
-------- ------- ----- --------- --------
20469 12097 40.9% 26-Apr-97 16:42:30 4 files